package com.exigen.performance.test.webapp.domain;

import java.util.Date;
import java.util.List;

import com.exigen.performance.test.webapp.domain.base.BaseEntity;

/**
 * Class to represent report request entity. Stores all related information like
 * project, scenario, time interval transactions and etc.
 * 
 * @author Maksim Savchuk
 * 
 */
public class ReportEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -755116579378434546L;

	private ProjectEntity project;
	private ScenarioEntity scenario;
	private ScenarioTypeEntity[] scenarioType;
	private List<String> branchId;
	private List<String> build;
	private List<String> state;
	private List<TransactionEntity> transactions;
	private List<TestSummaryEntity> testSummaries;
	private Date startDate;
	private Date endDate;
	private boolean intermediate;
	private Integer type;
	private boolean template;

	public ProjectEntity getProject() {
		return project;
	}

	public void setProject(ProjectEntity project) {
		this.project = project;
	}

	public ScenarioEntity getScenario() {
		return scenario;
	}

	public void setScenario(ScenarioEntity scenario) {
		this.scenario = scenario;
	}

	public ScenarioTypeEntity[] getScenarioType() {
		return scenarioType;
	}

	public void setScenarioType(ScenarioTypeEntity[] scenarioType) {
		this.scenarioType = scenarioType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public List<String> getBranchId() {
		return branchId;
	}

	public void setBranchId(List<String> branchId) {
		this.branchId = branchId;
	}

	public List<String> getBuild() {
		return build;
	}

	public void setBuild(List<String> build) {
		this.build = build;
	}

	public List<String> getState() {
		return state;
	}

	public void setState(List<String> state) {
		this.state = state;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public boolean isIntermediate() {
		return intermediate;
	}

	public void setIntermediate(boolean intermediate) {
		this.intermediate = intermediate;
	}

	public List<TransactionEntity> getTransactions() {
		return transactions;
	}

	public void setTransactions(List<TransactionEntity> transactions) {
		this.transactions = transactions;
	}

	public List<TestSummaryEntity> getTestSummaries() {
		return testSummaries;
	}

	public void setTestSummaries(List<TestSummaryEntity> testSummaries) {
		this.testSummaries = testSummaries;
	}

	public boolean isTemplate() {
		return template;
	}

	public void setTemplate(boolean template) {
		this.template = template;
	}

}
